<?
// page from 1
$pre = 0;
$next = 0;
if($this->page > 1)
	$pre = $this->page - 1;
if($this->haveNext > 0)
	$next = $this->page+1;

if ($this->ext_param)
{
	$ext_param=$this->ext_param;
}
else
{
	$ext_param="";
}
?>
<div class="pageViewWrap">
  <div class="pageView text-center"> 
  	<?
	if ($pre>0)
	{
		echo $this->pagerLink($this->url, $ext_param, $pre, '&lt;&lt;', "Về trang trước")."\n";
	}?>
  	<span class="itemS"><?php echo $this->page;?></span>
  	<?php if ($next)
	{
		echo $this->pagerLink($this->url, $ext_param, $next, '&gt;&gt;', "Về trang sau")."\n";
	}
	?>
    <div class="clear"></div>
  </div>
</div>